package com.haozi.watchtomato.dao;

import com.haozi.watchtomato.dto.TomatoDto;
import com.haozi.watchtomato.model.TomatoModel;

import java.util.List;

public interface TomatoDao {

    List<TomatoDto> queryTomatoList(TomatoModel model);

    int save(TomatoModel model);

    int update(TomatoModel model);

    int delete(Integer id);

}
